﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;


namespace testapi.Models
{
    public class test :IEid
    { 
        public int Id { get; set; }

        public string Name { get; set; }

        public int Age { get; set; }

        public string Email { get; set; }

        public Gender Gender { get; set; }

        /// <summary>
        /// 标记显示或者不显示，逻辑删除
        /// </summary>
        public int Flag { get; set; }



    }

    /// <summary>
    /// 枚举类型，在数据库为int类型
    /// </summary>
    public enum Gender
    {

        Man, Femal
    }
}
